<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags"%>

<%@ taglib prefix="security"
uri="http://www.springframework.org/security/tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
</head>
<body>
<c:choose>
	<c:when test="${sessionScope.jobseeker ne null}">
		<!-- Jobseeker links -->

		<table class="leftNav">
			<tr>
				<td><s:url value='/js/profile' var="logedClientProfile" /> <a
					href="${logedClientProfile}">My Profile</a></td>
			</tr>
			<tr>
				<td><s:url value='/js/appliedJobs' var="appliedJobs" /> <a
					href="${appliedJobs}">Jobs Applied by Me</a></td>
			</tr>
			<tr>
				<td><s:url value='/jobsearch' var="jobsearch" /> <a
					href="${jobsearch}">Search Jobs</a></td>
			</tr>

		</table>
	</c:when>
	<c:otherwise>
		<!-- client links -->

		<table class="leftNav">
			<tr>
				<td><s:url value='/c/profile' var="logedClientProfile" /> <a
					href="${logedClientProfile}">My Profile</a></td>
			</tr>
			<tr>
				<td><s:url value='/c/jobs' var="clientJobs" /> <a
					href="${clientJobs}">Jobs posted by me</a></td>
			</tr>
			<tr>
				<td><s:url value='/c/newJob' var="newJobForm" /> <a
					href="${newJobForm}">Post New Job</a></td>
			</tr>
			<tr>
				<td><s:url value='/comp/emp/reg' var="empReg" /> <a
					href="${empReg}">Register New Employee</a></td>
			</tr>
			<tr>
				<td><s:url value='/comp/emp/list' var="empList" /> <a
					href="${empList}">List all Employees</a></td>
			</tr>
		</table>
	</c:otherwise>
</c:choose>


</body>
</html>